package com.example.mq.common;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: WHY
 * Date: 2023-09-07
 * Time: 13:11
 */

import java.io.Serializable;

/**
 *这个类用来表示各个远程调用的方法的返回值的公共信息
 * 服务器返回给客户端的参数信息
 */
public class BasicReturns  implements Serializable {

    //用来标识唯一的请求和响应
    protected String rid;
    //用来标识一个channel
    protected String channelId;
    //表示当前这个远程方法调用方法的返回值
    protected boolean ok;

    public String getRid() {
        return rid;
    }

    public void setRid(String rid) {
        this.rid = rid;
    }



    public boolean isOk() {
        return ok;
    }

    public void setOk(boolean ok) {
        this.ok = ok;
    }

    public String getChannelId() {
        return channelId;
    }

    public void setChannelId(String channelId) {
        this.channelId = channelId;
    }



}
